/**
 * 
 */
package com.maohi.software.tupuna.home.bundle.implementations;

import java.util.List;

import javax.swing.JFrame;
import javax.swing.JPanel;

import com.maohi.software.arii.Arii;
import com.maohi.software.arii.mvc.listeners.UIListener;
import com.maohi.software.tupuna.constants.UIConstant;
import com.maohi.software.tupuna.home.bundle.interfaces.HomeBundleController;
import com.maohi.software.tupuna.home.bundle.interfaces.HomeBundleUI;

/**
 * @author heifara
 * 
 */
public class DefaultHomeBundleUI implements HomeBundleUI {

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.maohi.software.arii.mvc.UI#addUIListener(com.maohi.software.arii.mvc.listeners.UIListener)
	 */
	@Override
	public void addUIListener(UIListener aListener) {
		// TODO Auto-generated method stub

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.maohi.software.arii.mvc.UI#getUIListeners()
	 */
	@Override
	public List<UIListener> getUIListeners() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void openUI(HomeBundleController aController) {
		JFrame iFrame = new JFrame();
		iFrame.add(Arii.getInstance(JPanel.class, UIConstant.HOME_UI));
		iFrame.setSize(800, 600);
		iFrame.setVisible(true);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.maohi.software.arii.mvc.UI#removeUIListener(com.maohi.software.arii.mvc.listeners.UIListener)
	 */
	@Override
	public void removeUIListener(UIListener aListener) {
		// TODO Auto-generated method stub

	}

}
